<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>189数卡 - 点卡商城平台,游戏点卡充值网站</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="/Skin/Css/normalize.css" rel="stylesheet" type="text/css" />
        <link href="/Skin/Framework/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="/Skin/Framework/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css"/>
        <link href="/Skin/Theme/Shuka189/Css/Style.css" rel="stylesheet" type="text/css"/>
        
    </head>
    <body>
        <script src="/Skin/Script/jQuery/jquery-1.12.3.min.js" type="text/javascript"></script>
        <script src="/Skin/Framework/bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript"></script>
        <div class="topbar">
            <div class="container">
                <div class="row">
                    <strong>警惕:</strong>以兼职、刷信誉、做任务、缴纳保证金为由的行为均为诈骗行为,虚拟类产品一经出售,概不退换!<strong>请记住我们的域名www.123189.com</strong>客服电话：<em>400-7030-999</em>
                </div>
            </div>
        </div>
        <div class="toptoolbar">
            <div class="container">
                <div class="row">
                    <div class="col-md-6">
                        <?php if($loginInfo): ?>欢迎您, <?php echo ($loginInfo["user_name"]); ?><a href="<?php echo U('Member/index');?>">会员中心</a><a href="<?php echo U('Login/logout');?>">注销</a>
                        <?php else: ?>
                        欢迎来到189数卡!<a href="<?php echo U('Login/index');?>">请登录</a><a href="<?php echo U('Signup/index');?>">免费注册</a><?php endif; ?>
                    </div>
                    <div class="col-md-6 text-right">
                        <a href="/Skin/Theme/Shuka189/Images/189数卡.url">下载地址到桌面,下次点击进入</a>
                        <a href="#">加入收藏</a>
                        <a href="<?php echo U('About/index');?>">关于我们</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="logobar">
            <div class="container">
                <div class="row">
                    <div class="col-md-4">
                        <a href="<?php echo U('Index/index');?>"><img src="/Skin/Theme/Shuka189/Images/logo.png" alt="" /></a>
                    </div>
                    <div class="col-md-8">
                        <form method="get" action="<?php echo U('Search/index');?>" style="margin-top:30px;">
                            <div class="row">
                                <div class="col-md-8" style="padding-right:0">
                                    <input type="text" name="search" placeholder="输入您的搜索内容..." class="form-control" />
                                </div>
                                <div class="col-md-4" style="padding-left:5px">
                                    <button type="submit" class="btn btn-danger">搜索</button>
                                </div>
                            </div>
                        </form>
                        <div class="hotsearchwords">热门关键字：<a href="<?php echo U('Search/index');?>">盛付通</a><a href="<?php echo U('Search/index');?>">盛大点券</a></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="menubar">
            <div class="container">
                <ul class="nav nav-pills nav-justified">
                    <li><a href="<?php echo U('Index/index');?>">商城首页</a></li>
                    <li><a href="<?php echo U('Prolist/index');?>">游戏卡密</a></li>
                    <li><a href="<?php echo U('DirectRecharge/index');?>">游戏直充</a></li>
                    <li><a href="<?php echo U('BillQuery/index');?>">自助服务</a></li>
                    <li><a href="<?php echo U('SelfHelp/index');?>">补发邮件</a></li>
                    <li><a href="<?php echo U('ContactUs/index');?>">联系我们</a></li>
                    <li><a href="<?php echo U('Disclaimer/index');?>">网站声明</a></li>
                </ul>
            </div>
        </div>
        
<div class="container text-page">
    <h1>订单信息</h1>    
    <ul class="list-group">
        <li class="list-group-item">产品名称：<?php echo ($data["title"]); ?></li>
        <li class="list-group-item">订单号码：<?php echo ($data["serial_no"]); ?></li>
        <li class="list-group-item">点卡面值：<?php echo ($data["price"]); ?>元</li>
        <li class="list-group-item">电子邮箱：<?php echo ($data["email"]); ?></li>
        <li class="list-group-item"><span style="letter-spacing: .35em;">收货人：</span><?php echo ($data["realname"]); ?></li>
    </ul>
    <div style="margin:10px 0; font-size:16px; font-weight:bold;">
        应付金额：<span style="color:#F00"><?php echo ($data["subtotal"]); ?></span>元   (<?php echo ($data["price"]); ?>*<?php echo ($data["number"]); ?>)
    </div>
<!-- 2016-5-30 支付宝官方通知 -->
<form name="alipayment" action="/create_direct_pay_by_user/alipayapi.php" method="post" target="_blank" onsubmit='return validate()'>
    <input type="hidden" name="WIDtotal_fee" value="<?php echo ($data["subtotal"]); ?>" title="充值金额" />
    <input type="hidden" name="remark" title="备注"/>
    <input type="hidden" name="WIDseller_email" value="xiamenxyx@163.com" title="卖家支付宝帐户"/>
    <input type="hidden" name="WIDout_trade_no" value="" title="商户订单号"/>
    <input type="hidden" name="WIDsubject" value="<?php echo ($data["title"]); ?>" title="订单名称"/>
    <input type="hidden" name="WIDbody" value="" title="订单描述"/>
    <input type="hidden" name="WIDshow_url" value="" title="<?php echo U('Shuka189/Product/detail','id='.$id);?>"/>
    <input type="hidden" name="WIDreceive_name" value="<?php echo ($data["realname"]); ?>" title="收货人姓名"/>
    <input type="hidden" name="WIDreceive_address" value="" title="收货人地址"/>
    <input type="hidden" name="WIDreceive_zip" value="" title="收货人邮编"/>
    <input type="hidden" name="WIDreceive_phone" value="" title="收货人电话号码"/>
    <input type="hidden" name="WIDreceive_mobile" value="" title="收货人手机号码"/>
    <div>
        <button type="button" class="btn btn-warning btn-large" onclick="history.back();">返回修改</button>
        <button type="submit" class="btn btn-danger btn-large" style="margin-left:10px;">前往支付</button>
    </div>
</form>
</div>

<div title="服务调整公告" id="notices" style="display:none;">
    因为近期支付宝接口调整，所以目前无法实现自助充值服务。如需充值，请直接向xcall官方支付宝帐号[<strong style="font-size:14px; color:#F00; font-weight:bold;">xiamenxyx@163.com</strong>]转账，<span style="color:#F00;">转账成功以后请联系官方客服为您充值</span>。联系方式：（<strong style="font-size:14px; color:#F00; font-weight:bold;">QQ：2116107424，手机：18250801349</strong>），感谢您的支持与理解，谢谢合作！
</div>
<script type="text/javascript">

    $('input[name="WIDout_trade_no"]').val('FR-<?php echo ($id); ?>-' + new Date().format('yyyyMMddhhmmss'));
    function validate() {
        var val = $('input[name="WIDtotal_fee"]').val();
        if (!val) {
            alert('充值金额无效!')
            return false;
        }
        var vmx = true;
        if (val[0] == '?') {
            vmx = false;
            val = val.substring(1);
        }
        if (isNaN(val)) {
            alert('充值金额无效!')
            return false;
        }
        if (vmx && val < 1) {
            alert('充值最少1元!')
            return false;
        }
        return true;
    }
</script>



        <div class="footer container text-center">
            <div class="footer_nav">
                <a href="<?php echo U('Index/index');?>" target="_blank">商城首页 | </a>
                <a href="<?php echo U('Prolist/index');?>" target="_blank">网游点卡 | </a>
                <a href="<?php echo U('ContactUs/index');?>" target="_blank">联系我们 | </a>
                <a href="<?php echo U('Question/index');?>" target="_blank">常见问题 | </a>
                <a href="<?php echo U('Privacy/index');?>" target="_blank">隐私保护 | </a>
                <a href="<?php echo U('OfficialWebsite/index');?>" target="_blank">官网导航 | </a>
                <a href="http://webscan.360.cn/index/checkwebsite/url/www.123189.com" name="9cd18f525db131e63ff7ea5e2412426c" >360网站安全检测平台</a>
            </div>
            <!-- <br><br>-->
            <!--页尾的认证部分-->
            <div class="footer_image" style="margin:10px 0;">
                <span><a href="/Skin/Theme/Shuka189/Images/cert/kexin.jpg" target="_blank"><img src="/Skin/Theme/Shuka189/Images/footer_08.jpg" alt="可信网站" title="可信网站"></a></span>
                <span><a href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action" target="_blank" rel="nofollow"><img src="/Skin/Theme/Shuka189/Images/footer_09.jpg" alt="经营性网站备案信息" title="经营性网站备案信息"></a></span>
                <span><a key="58368eb9efbfb014cd569a85" logo_size="124x47" logo_type="realname" href="http://v.pinpaibao.com.cn/authenticate/cert/?site=www.123189.com&amp;at=realname" target="_blank"><script src="//static.anquan.org/static/outer/js/aq_auth.js"></script><b id="aqLogoVZLIF" style="display: none;"></b></a></span>
                <span><a href="../images/1.png" target="_blank"><img src="/Skin/Theme/Shuka189/Images/footer_10.jpg" alt="中网验证ICP备案" title="中网验证ICP备案"></a></span>
                <span><a href="http://www.anquan.org/authenticate/cert/?site=www.123189.com&amp;at=business" target="_blank" rel="nofollow"><img src="/Skin/Theme/Shuka189/Images/footer_04.jpg" alt="安全联盟行业验证" title="安全联盟行业验证"></a></span>

            </div>
            <!--版权等等-->
            <div class="footer_copyright">
                <address>
                    <p>189数卡提供的都是虚拟产品，在产品无误的情况下，不提供退换货服务！姓名和订单号码可用于订单查询，商品信息通过电子邮箱发货。请正确填写购买信息！</p>
                    <p><a href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action" target="_blank" rel="nofollow"><b>闽ICP:</b> 备14005692号-2</a></p>  
                    <p>2017 © www.123189.com 福建鑫翼祥信息技术有限公司版权所有</p>&nbsp;
                </address>
            </div>
        </div>
        
    </body>
</html>